get first row of matrix numpy